home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 115_01.zip / ED0.C < prev    next >
Text File  |  1993-06-01  |  896b  |  32 lines

  1. /* Screen editor:  non-user defined globals
  2.  *
  3.  * Source: ed0.c
  4.  * Version: June 19, 1980.
  5.  */
  6.  
  7.  
  8. /* Define global constants */
  9.  
  10. /* Define constants describing a text line */
  11.  
  12. #define MAXLEN    133    /* max chars per line */
  13. #define MAXLEN1    134    /* MAXLEN + 1 */
  14.  
  15. /* Define operating system constants */
  16.  
  17. #define SYSFNMAX 15    /* CP/M file name length + 1 */
  18.  
  19. /* Define misc. constants */
  20.  
  21. #define EOS    0    /* code sometimes assumes \0 */
  22. #define OK    1
  23. #define ERR    -1    /* error.  must be <0 */
  24. #define EOF    -2    /* end of file.  must be <0 */
  25. #define YES    1    /* must be nonzero */
  26. #define NO    0
  27. #define CR    13    /* carriage return */
  28. #define LF    10    /* line feed */
  29. #define TAB    9    /* tab character */
  30. #define HUGE    32000    /* practical infinity */
  31.  
  32.